* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: .35s linear;
}


:root {
    --main-color: #2980b9;
    --black: #444;
    --bg: #fff;
    --light-bg: #eee;
    --light-color: #666;
    --border: 1px solid rgba(0, 0, 0, 0.1);
    --box-shadow: 0 5px 10px rgba(0, 0, 0, .1);

}


@font-face {
    font-family: Poppins;
    src: url(fonts/Poppins-Regular.ttf);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light-bg);
    height: 100vh;
    overflow: hidden;
}

body.active {
    --black: #fff;
    --bg: #262626;
    --light-bg: #333;
    --light-color: #eee;
    --border: 1px solid rgba(255, 255, 255, 0.1);
    --box-shadow: 0 5px 10px rgba(0, 0, 0, .3);
}

#theme-open {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: var(--black);
    cursor: pointer;
    z-index: 100;
}

.theme-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 350px;
    height: 100vh;
    padding: 20px;
    background: var(--bg);
    border-left: var(--border);
    text-align: right;
    z-index: 1000;
}

.theme-container.active {
    right: 0
}

#theme-close {
    font-size: 30px;
    color: var(--black);
    cursor: pointer;
}

.theme-container h3 {
    text-align: center;
    color: var(--black);
    border-top: var(--border);
    border-bottom: var(--border);
    padding: 15px 0;
    margin: 20px 0;
}

.theme-container .theme-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
}

.theme-container .theme-toggle span {
    color: var(--light-color);
}

.theme-container .theme-toggle .toggle {
    display: inline-block;
    width: 80px;
    height: 40px;
    border-radius: 50px;
    background: var(--light-bg);
    position: relative;
    cursor: pointer;
    margin: 0 10px;
}

.theme-container .theme-toggle .toggle::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 100000;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    transition: .2s linear;
}

.theme-container .theme-toggle.active .toggle:before {
    left: 45px;
}

.theme-container .theme-colors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.theme-container .theme-colors .color {
    border-radius: 5px;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.theme-container .theme-colors .color:hover {
    opacity: .5;
}

.container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 60px;
    margin: 10px;
}

.container .content {
    background: var(--bg);
    border: var(--border);
    border-radius: 5px;
    padding: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    width: 400px;
}

.container .content img {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 5px;
}

.container .content h3 {
    color: var(--black);
    font-size: 25px;
}

.container .content p {
    color: var(--light-color);
    font-size: 15px;
    line-height: 2;
    padding: 10px 0;
}

.container .content .btn {
    margin-top: 10px;
    padding: 10px 30px;
    display: inline-block;
    text-decoration: none;
    text-transform: capitalize;
    background: var(--main-color);
    border-radius: 5px;
    color: #fff;
    font-size: 17px;
}

.container .content .btn:hover {
    opacity: .8;
    letter-spacing: 1px;
}
